
			
			<div class="content-box"><!-- Start Content Box -->
				
				<div class="content-box-header">
					
					<h3>Content box</h3>
					
					<ul class="content-box-tabs">
						<li><a href="#tab1" class="default-tab">Table</a></li> <!-- href must be unique and match the id of target div -->
						<li><a href="#tab2">Forms</a></li>
					</ul>
					
					<div class="clear"></div>
					
				</div> <!-- End .content-box-header -->
				
				<div class="content-box-content">
					
					<div class="tab-content default-tab" id="tab1"> <!-- This is the target div. id must match the href of this div's tab -->
						
						<div class="notification attention png_bg">
							<a href="#" class="close"><img src="<?php echo IMG?>icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
							<div>
								This is a Content Box. You can put whatever you want in it. By the way, you can close this notification with the top-right cross.
							</div>
						</div>
						
						<table>
							
							<thead>
								<tr>
								   <th>类名</th>
								   <th>url</th>
								</tr>
								
							</thead>
						 
							
						 
							<tbody>


								<?php foreach($child as $val):?>
								<tr>
									<td><a href="#" title="title"><?php echo $val['category_name']?></a></td>
									<td><?php echo $val['url']?></td>


									<td>
										<!-- Icons -->
										<?php $id = $val['id']; echo "<a href='index.php?m=admin&c=category&v=cate_upd&id={$id}' title='Edit'>"?>
										  <img src="<?php echo IMG?>icons/pencil.png" alt="Edit" /></a>
										 
									</td>
								</tr>
									<?php if(isset($val['child'])){foreach($val['child'] as $v):?>

									<tr>
										<td style="text-indent: 2em"><?php echo $v['category_name']?></td>
										<td><?php echo $v['url']?></td>


										<td>
											<!-- Icons -->
											 <?php $id = $v['id']; echo "<a href='index.php?m=admin&c=category&v=cate_upd&id={$id}' title='Edit'>"?>
											 	<img src="<?php echo IMG?>icons/pencil.png" alt="Edit" /></a>
											 <a href="#" title="Delete"><img src="<?php echo IMG?>icons/cross.png" alt="Delete" /></a> 
										</td>
									</tr>

									<?php endforeach ;}?>

								<?php endforeach ;?>
								
								
							</tbody>
							
						</table>
						
					</div> <!-- End #tab1 -->
					
					<div class="tab-content" id="tab2">
					
						<form action="#" method="post">
							
							<fieldset> <!-- Set class to "column-left" or "column-right" on fieldsets to divide the form into columns -->
								
								<p>
									<label>Small form input</label>
										<input class="text-input small-input" type="text" id="small-input" name="small-input" /> <span class="input-notification success png_bg">Successful message</span> <!-- Classes for input-notification: success, error, information, attention -->
										<br /><small>A small description of the field</small>
								</p>
								
								<p>
									<label>Medium form input</label>
									<input class="text-input medium-input datepicker" type="text" id="medium-input" name="medium-input" /> <span class="input-notification error png_bg">Error message</span>
								</p>
								
								<p>
									<label>Large form input</label>
									<input class="text-input large-input" type="text" id="large-input" name="large-input" />
								</p>
								
								<p>
									<label>Checkboxes</label>
									<input type="checkbox" name="checkbox1" /> This is a checkbox <input type="checkbox" name="checkbox2" /> And this is another checkbox
								</p>
								
								<p>
									<label>Radio buttons</label>
									<input type="radio" name="radio1" /> This is a radio button<br />
									<input type="radio" name="radio2" /> This is another radio button
								</p>
								
								<p>
									<label>This is a drop down list</label>              
									<select name="dropdown" class="small-input">
										<option value="option1">Option 1</option>
										<option value="option2">Option 2</option>
										<option value="option3">Option 3</option>
										<option value="option4">Option 4</option>
									</select> 
								</p>
								
								<p>
									<label>Textarea with WYSIWYG</label>
									<textarea class="text-input textarea wysiwyg" id="textarea" name="textfield" cols="79" rows="15"></textarea>
								</p>
								
								<p>
									<input class="button" type="submit" value="Submit" />
								</p>
								
							</fieldset>
							
							<div class="clear"></div><!-- End .clear -->
							
						</form>
						
					</div> <!-- End #tab2 -->        
					
				</div> <!-- End .content-box-content -->
				
			</div> <!-- End .content-box -->
			
			
			
			
		
			
			
			<!-- Start Notifications -->
			
			
			
			
			
			
			
			
	
